﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.PO;
using Com.CMS263.DAO;

namespace Com.CMS263.BLL
{
    public class DiscussResultBLL : BaseBLL<DiscussResult>
    {
        public DiscussResult entity = new DiscussResult();
        DiscussResultDAO dao = new DiscussResultDAO();
        public override DiscussResult GetModel()
        {
            return entity;
        }
        public IList<DiscussResult> GetListByPaging(int disid, int page, int pagesize)
        {
            return dao.GetListByPaging(disid, page, pagesize);
        }
        /// <summary>
        /// 根据disid查询意见条数
        /// </summary>
        /// <param name="disid"></param>
        /// <returns></returns>
        public int GetCountByDisId(int disid)
        {
            return dao.GetCountByDisId(disid);
        }
    }
}
